module.exports = {
  sellIfSpecialMarket () {
  },
  sellIfSpecialMarketAnyway () {
  },
  buyIfSpecialMarket () {
  },
  buyIfSpecialMarketAnyway () {
  },
  noBuyIfSpecialMarket () {
  },
  noSellIfSpecialMarket () {
  },
  pingDuoIfSpecialMarket () {
  },
  pingKongIfSpecialMarket () {
  },
  executeBySpecialMarket () {
    if (this.ifSellPreReverseTrend || this.ifSellReverseTrend) {
      return
    }
    if (this.ifSellPrePositiveTrend) {
      return
    }
    // 做空方向的，可以一直做空的那种
    if ([
      'smt-0001', 'smt-0002', 'smt-0003', 'smt-0004', 'smt-0005',
      'smt-0006', 'smt-0007', 'smt-0008'
    ].indexOf(this.strategyResult) !== -1) {
      this.setPingDuo('executeBySpecialMarket-01-0001')
      this.setNoBuy('executeBySpecialMarket-01-0002')
    }
    // 做多的模式
    if ([
      'smt-0009'
    ].indexOf(this.strategyResult) !== -1) {
      this.setPingKong('executeBySpecialMarket-02-0001')
      this.setNoSell('executeBySpecialMarket-02-0002')
    }
  }
}
